<div class="post">
<h2 class="title">Add task</h2>
<div class="entry">
<form method="post" action="/create/ticket"  method="POST" class="registration-form">
<table>
{% for field in form %}
{% if field.errors %}
<tr>
	<td colspan="2">
       {% for error in field.errors %}
	<strong style="color:#df0000;">{{error}}</strong>
	{% endfor %}
	</td>
</tr>
{% endif %}
<tr>
	<td>
        {{ field.label_tag }}
	</td>
	<td>
	{{ field }}
	</td>
</tr>
{% endfor %}
<tr>
      <td colspan="2" align="right">
<input type="submit" value="Register"> | <a href="/tasks"> Cancel
      </td>
</tr>
</table>

</form>
</div>
</div>